<template>
  <div>
    <p style="width:100%;height: 800px;background: blue;font-size: 50px;">
      异步组件{{data}}
    </p>
  </div>
</template>

<script setup>
import { useBanner } from '@/api/index.js'
const { data } = await useBanner()
console.log(data);
</script>

<style scoped>

</style>